package com.sqly.doc.base;

import android.support.v7.app.AppCompatActivity;

import com.vivachek.nova.bleproxy.BleProxy;
import com.vivachek.nova.bleproxy.entity.BaseBluetooth;
import com.vivachek.nova.bleproxy.entity.ValueEntity;
import com.vivachek.nova.bleproxy.listener.OnBleListener;

import java.util.List;

/**
 * Created by 袁从斌 on 2019-08-02.
 */
public class BaseActivity extends AppCompatActivity implements OnBleListener {

	@Override
	protected void onResume() {
		super.onResume();
		BleProxy.getInstance().setBleListener(this);
	}

	@Override
	public void onScanFinish(List<BaseBluetooth> scanResultList) {

	}

	@Override
	public void onScanning(BaseBluetooth bleDevice) {

	}

	@Override
	public void onScanStart() {

	}

	@Override
	public void onConnectSuccess(BaseBluetooth bleDevice) {

	}

	@Override
	public void onConnectFail(String mac) {

	}

	@Override
	public void onStartConnect() {

	}

	@Override
	public void onDisconnect(String mac, boolean isActiveDisConnected) {

	}

	@Override
	public void openNotifySuccess(BaseBluetooth bleDevice) {

	}

	@Override
	public void openNotifyFail() {

	}

	@Override
	public void writeCmdSuccess() {

	}

	@Override
	public void writeCmdFail() {

	}

	@Override
	public void onDeleteRecentDataSuccess() {

	}

	@Override
	public void onDeleteHistorySuccess() {

	}

	@Override
	public void responseSn(BaseBluetooth device, String sn) {

	}

	@Override
	public void responseUnit(BaseBluetooth device, String unit) {

	}

	@Override
	public void responseSetTimeSuccess(BaseBluetooth device) {

	}

	@Override
	public void responseSetTimeFail(BaseBluetooth device) {

	}

	@Override
	public void responseRealTimeGlucoseHigh(BaseBluetooth device, String sn, long measureTime) {

	}

	@Override
	public void responseRealTimeGlucoseLow(BaseBluetooth device, String sn, long measureTime) {

	}

	@Override
	public void responseRealTimeGlucose(BaseBluetooth device, ValueEntity glucoseEntity) {

	}

	@Override
	public void responseRealTimeToast(BaseBluetooth device, int toastType) {

	}

	@Override
	public void responseHistory(BaseBluetooth device, List<ValueEntity> historyGlucose) {

	}

	@Override
	public void responseRealTimeKetone(BaseBluetooth device, ValueEntity glucoseEntity) {

	}

	@Override
	public void responseGKI(BaseBluetooth device, ValueEntity glucoseEntity) {

	}

	@Override
	public void onBleDeviceClose() {

	}

	@Override
	public void onBleGKIMode(BaseBluetooth device, boolean isOpen) {

	}

	@Override
	public void responseGKIHistory(BaseBluetooth device, List<ValueEntity> result) {

	}

	@Override
	public void responseDeviceVersion(BaseBluetooth device, String version) {

	}

	@Override
	public void responseOriginData(BaseBluetooth device, String originData, boolean isReceiver) {

	}

	@Override
	public void responseReadTime(BaseBluetooth convertBleDevice, long deviceTime) {

	}

	@Override
	public void responseReadGlucoseConcentration(BaseBluetooth convertBleDevice, float low,
                                                 float high, String unit) {

	}

	@Override
	public void responseSetGlucoseConcentrationSuccess(BaseBluetooth convertBleDevice) {

	}

}
